<template>
  <div class="floor" :style="colors">
    <div class="title">
      <slot name="title"></slot>
      <slot name="icon"></slot>
    </div>
    <div class="desc">
      <slot name="desc"></slot>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    colorStyle: {
      type: String,
      default() {
        return "#fff";
      },
    },
    colorActives: {
      type: String,
      default() {
        return '#000';
      }
    }
  },
  methods: {
  },
  computed: {
    colors() {
      return {backgroundColor: this.colorStyle, color: this.colorActives}
    }
  }
};
</script>

<style lang="scss" scoped>
.floor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  .title {
    display: flex;
    // justify-content: center;
    align-items: center;
  }
}
</style>